<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:50685/AdminServiceWCF.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost:50685/AdminServiceWCF.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/PsychSurvey.ResearchId" />
  <xs:import schemaLocation="http://localhost:50685/AdminServiceWCF.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost:50685/AdminServiceWCF.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/PsychSurvey" />
  <xs:element name="LoginUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="LoginUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="LoginUserResult" type="xs:boolean" />
        <xs:element minOccurs="0" name="UserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsForIndividual">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string" />
        <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ClaimId" nillable="true" type="q1:ArrayOfint" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsForIndividualResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/PsychSurvey.ResearchId" minOccurs="0" name="GetClaimsForIndividualResult" nillable="true" type="q2:ArrayOfIndividualClaimsView" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ValidateUserClaims">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q3:guid" />
        <xs:element minOccurs="0" name="LoginName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="UserId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ValidateUserClaimsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ValidateUserClaimsResult" type="xs:boolean" />
        <xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="MissingClaimNames" nillable="true" type="q4:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetResourcesForStudyId">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q5:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetResourcesForStudyIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetResourcesForStudyIdResult" nillable="true" type="q6:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteResource">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Path" nillable="true" type="xs:string" />
        <xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q7:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteResourceResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateAccount">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateAccountResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="CreateAccountResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateClaim">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="ClaimId" type="xs:int" />
        <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateClaimResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWaves">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q8:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWavesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyWavesResult" nillable="true" type="q9:ArrayOfStudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWavesForConditionId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWavesForConditionIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyWavesForConditionIdResult" nillable="true" type="q10:ArrayOfStudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWave">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWave" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyWaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyWaveResult" nillable="true" type="q11:StudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyWave">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="myStudyWave" nillable="true" type="q12:StudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyWaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateStudyWaveResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateWave">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q13:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateWaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateWaveResult" nillable="true" type="q14:StudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyWave">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyWaveResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteStudyWaveResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyWaveSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyWaveSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteStudyWaveSurveyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyWaveSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="mySws" nillable="true" type="q15:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyWaveSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateStudyWaveSurveyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateStudyWaveSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="sws" nillable="true" type="q16:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateStudyWaveSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateStudyWaveSurveyResult" nillable="true" type="q17:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveys">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveysResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveysResult" nillable="true" type="q18:ArrayOfSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllSurveys">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllSurveysResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetAllSurveysResult" nillable="true" type="q19:ArrayOfSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q20="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q20:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveyResult" nillable="true" type="q21:Survey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="mySurvey" nillable="true" type="q22:Survey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateSurveyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyDisplayOrder">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element xmlns:q23="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q23:guid" />
        <xs:element minOccurs="0" name="DisplayOrder" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyDisplayOrderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateSurveyDisplayOrderResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RemoveSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
        <xs:element xmlns:q24="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q24:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="RemoveSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="RemoveSurveyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateSurveyResult" nillable="true" type="q25:Survey" />
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="StudyWaveSurvey" nillable="true" type="q26:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AssociateExistingSurvey">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
        <xs:element xmlns:q27="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q27:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AssociateExistingSurveyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="AssociateExistingSurveyResult" nillable="true" type="q28:StudyWaveSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q29="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q29:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyPagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveyPagesResult" nillable="true" type="q30:ArrayOfSurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveyPageResult" nillable="true" type="q31:SurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="page" nillable="true" type="q32:SurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateSurveyPageResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q33="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q33:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateSurveyPageResult" nillable="true" type="q34:SurveyPage" />
        <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ssp" nillable="true" type="q35:SurveySurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q36="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="page" nillable="true" type="q36:SurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteSurveyPageResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateDisplayOrder">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q37="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q37:guid" />
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
        <xs:element minOccurs="0" name="DisplayOrder" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateDisplayOrderResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateDisplayOrderResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q38="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="pages" nillable="true" type="q38:ArrayOfSurveyPage" />
        <xs:element xmlns:q39="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q39:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateSurveyPagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q40="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="UpdateSurveyPagesResult" nillable="true" type="q40:ArrayOfSurveySurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSurveySurveyPages">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q41="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q41:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteSurveySurveyPagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteSurveySurveyPagesResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveySurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q42="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ssp" nillable="true" type="q42:SurveySurveyPage" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateSurveySurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="CreateSurveySurveyPageResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="BeginSession">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element xmlns:q43="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q43:guid" />
        <xs:element minOccurs="0" name="IsTesting" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="BeginSessionResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="EndSession">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element xmlns:q44="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q44:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="EndSessionResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyData">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyDataResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q45="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Studies" nillable="true" type="q45:ArrayOfStudy" />
        <xs:element xmlns:q46="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Conditions" nillable="true" type="q46:ArrayOfCondition" />
        <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Waves" nillable="true" type="q47:ArrayOfStudyWave" />
        <xs:element xmlns:q48="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="StudyWaveSurveys" nillable="true" type="q48:ArrayOfStudyWaveSurvey" />
        <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Surveys" nillable="true" type="q49:ArrayOfSurvey" />
        <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="SurveySurveyPages" nillable="true" type="q50:ArrayOfSurveySurveyPage" />
        <xs:element xmlns:q51="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Pages" nillable="true" type="q51:ArrayOfSurveyPage" />
        <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="StudyClaims" nillable="true" type="q52:ArrayOfStudyClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ResumeStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element xmlns:q53="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q53:guid" />
        <xs:element minOccurs="0" name="IsTesting" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ResumeStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q54="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="myStudy" nillable="true" type="q54:Study" />
        <xs:element xmlns:q55="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="myCondition" nillable="true" type="q55:Condition" />
        <xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="SurveyPages" nillable="true" type="q56:ArrayOfStudyConsolidatedOrderedIndividualResult" />
        <xs:element minOccurs="0" name="NextWaveStartDate" nillable="true" type="xs:dateTime" />
        <xs:element minOccurs="0" name="NextWaveEndDate" nillable="true" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaims">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q57="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetClaimsResult" nillable="true" type="q57:ArrayOfClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyResults">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q58="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q58:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyResultsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q59="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyResultsResult" nillable="true" type="q59:ArrayOfStudyResultsIndividualEmail" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyResults">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q60="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q60:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyResultsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyList">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetSurveyListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q61="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetSurveyListResult" nillable="true" type="q61:ArrayOfSurvey" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyList">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q62="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyListResult" nillable="true" type="q62:ArrayOfStudy" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q63="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q63:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q64="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetStudyResult" nillable="true" type="q64:Study" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateStudy">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q65="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateStudyResult" nillable="true" type="q65:Study" />
        <xs:element xmlns:q66="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Conditions" nillable="true" type="q66:ArrayOfCondition" />
        <xs:element xmlns:q67="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="Waves" nillable="true" type="q67:ArrayOfStudyWave" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q68="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="StudyToUpdate" nillable="true" type="q68:Study" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateStudyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q69="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q69:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteStudyResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteStudyResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyUrl">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q70="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="Study" type="q70:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyUrlResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetStudyUrlResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyDevelopmentUrl">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q71="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="Study" type="q71:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStudyDevelopmentUrlResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetStudyDevelopmentUrlResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsNotAdded">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q72="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q72:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsNotAddedResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q73="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetClaimsNotAddedResult" nillable="true" type="q73:ArrayOfClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsAdded">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q74="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q74:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClaimsAddedResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q75="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetClaimsAddedResult" nillable="true" type="q75:ArrayOfClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateClaims">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q76="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="Study" type="q76:guid" />
        <xs:element xmlns:q77="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="AllClaims" nillable="true" type="q77:ArrayOfint" />
        <xs:element xmlns:q78="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="AnonymousClaims" nillable="true" type="q78:ArrayOfint" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateClaimsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateClaimsResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetNextSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q79="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q79:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetNextSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q80="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetNextSurveyPageResult" nillable="true" type="q80:StudyConsolidatedOrderedResults" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPreviousSurveyPage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q81="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q81:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element xmlns:q82="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q82:guid" />
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPreviousSurveyPageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q83="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetPreviousSurveyPageResult" nillable="true" type="q83:StudyConsolidatedOrderedResults" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetNextSurveyPage2">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q84="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q84:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element xmlns:q85="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q85:guid" />
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetNextSurveyPage2Response">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q86="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetNextSurveyPage2Result" nillable="true" type="q86:StudyConsolidatedOrderedResults" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReportSurveyPageResults">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q87="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q87:guid" />
        <xs:element minOccurs="0" name="IndividualId" type="xs:int" />
        <xs:element minOccurs="0" name="StudyWaveId" type="xs:int" />
        <xs:element xmlns:q88="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="SurveyId" type="q88:guid" />
        <xs:element minOccurs="0" name="SurveyPageId" type="xs:int" />
        <xs:element xmlns:q89="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Names" nillable="true" type="q89:ArrayOfstring" />
        <xs:element xmlns:q90="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Values" nillable="true" type="q90:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReportSurveyPageResultsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteResults">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q91="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q91:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteResultsResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="CountParticipants">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q92="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q92:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CountParticipantsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="TotalParticipants" type="xs:int" />
        <xs:element xmlns:q93="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ConditionCount" nillable="true" type="q93:ArrayOfConditionCount" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateClaimsForStudy">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q94="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q94:guid" />
        <xs:element xmlns:q95="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ClaimsAdded" nillable="true" type="q95:ArrayOfClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateClaimsForStudyResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="GetConditions">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q96="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q96:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetConditionsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q97="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetConditionsResult" nillable="true" type="q97:ArrayOfCondition" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetCondition">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetConditionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q98="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="GetConditionResult" nillable="true" type="q98:Condition" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateCondition">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q99="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="StudyId" type="q99:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateConditionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q100="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="CreateConditionResult" nillable="true" type="q100:Condition" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteCondition">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ConditionId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteConditionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteConditionResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateCondition">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q101="http://schemas.datacontract.org/2004/07/PsychSurvey" minOccurs="0" name="ConditionToSave" nillable="true" type="q101:Condition" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateConditionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="UpdateConditionResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>